package net.binkylin.acm.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created with IntelliJ IDEA. User: tangb Date: 4/20/12 Time: 3:19 PM To change
 * this template use File | Settings | File Templates.
 */

@Controller
@RequestMapping("/acm")
public class AcmController {

	protected Logger log = LoggerFactory.getLogger(this.getClass().getName());

	@RequestMapping(value = "/home")
	public ModelAndView testAcmHome(HttpServletRequest request, HttpServletResponse response) throws Exception {
		return new ModelAndView("/acm/acmHome");
	}

	@RequestMapping(value = "/index")
	public ModelAndView testAcmIndex(HttpServletRequest request, HttpServletResponse response) throws Exception {
		return new ModelAndView("/acm/acmIndex");
	}
	

}
